package Exercise01;

public class Test2 {
    public static void main(String[] args) {

        Student a2 = new Student("张三","男",29);
        Student a1 = new Student("张婷","女",22);

        System.out.println(a1.equals(a2)?"相等":"不相等");
    }
}
